//
//  WHTreeCell.h
//  WHValueKit
//
//  Created by peng wang on 2023/2/21.
//

#import <UIKit/UIKit.h>

@class WHTreeItem, WHTreeConfig;

@interface WHTreeCell : UITableViewCell

@property (nonatomic, copy)   void (^checkButtonClickBlock)(WHTreeItem *item);
@property (nonatomic, assign) BOOL isShowArrow;
@property (nonatomic, assign) BOOL isShowCheck;
//@property (nonatomic, assign) BOOL isShowLevelColor;

+ (instancetype)cellWithTableView:(UITableView *)tableView
						 treeItem:(WHTreeItem *)item
					   treeConfig:(WHTreeConfig *)config;
- (void)updateItem;

@end
